package cn.lyvust.demo.shili10.yield01;

/**
 * Description:
 * date: 2021-5-18 19:41
 *
 * @author Guo_guo
 * @since JDK 1.8
 */
public class YieldTest {
    public static void main(String[] args) {
        TaskRunner task = new TaskRunner();
        Thread t1 = new Thread(task, "task01");
        Thread t2 = new Thread(task, "task02");
        t1.start();
        t2.start();
    }
}
